API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsImages
Enums
PixelFormat.h
1
// PixelFormat.h
3
//
5
6
namespace
nkImages
7
{
15
enum class
PIXEL_FORMAT
16
{
17
UNKNOWN_FORMAT
= 0,
18
R8G8B8
,
19
R8G8B8A8
20
} ;
21
25
class
PixelFormatUtils
final
26
{
27
public :
28
29
// Conversions
36
static
unsigned
int
getFormatByteSize
(
PIXEL_FORMAT
format) ;
37
} ;
38
}
nkImages::PixelFormatUtils
Utility class to translate enum values into linked useful data.
Definition:
PixelFormat.h:26
nkImages::PIXEL_FORMAT::R8G8B8A8
@ R8G8B8A8
Format is 4 channels Red Green Blue Alpha, each occupying 8 bits (1 byte).
nkImages::PIXEL_FORMAT::UNKNOWN_FORMAT
@ UNKNOWN_FORMAT
Format is unknown or not supported.
nkImages::PIXEL_FORMAT::R8G8B8
@ R8G8B8
Format is 3 channels Red Green Blue, each occupying 8 bits (1 byte).
nkImages::PixelFormatUtils::getFormatByteSize
static unsigned int getFormatByteSize(PIXEL_FORMAT format)
nkImages
Encompasses all API of component NilkinsImages.
Definition:
BmpEncoder.h:7
nkImages::PIXEL_FORMAT
PIXEL_FORMAT
Lists formats for pixels.
Definition:
PixelFormat.h:16
Generated by
Doxygen
1.8.18